import { RouteComponent } from "vue-router";

export interface AsyncMeta {
  title?: string | null,
  icon?: string | null,
  permissions?: string[] | null,
  noKeepAlive?: number | null,
  badge?: string | null,
}
export interface AsyncRoutes {
  path: string,
  name?: string | null,
  component: string | RouteComponent,
  redirect?: string | null,
  children?: AsyncRoutes[] | null,
  meta?: AsyncMeta | null
}